package cn.lili.modules.system.entity.dos;

import cn.lili.mybatis.model.BaseStandardEntity;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import javax.validation.constraints.NotEmpty;

/**
 * 供应链设置
 *
 * @author zhangxiaojun
 * @since 2023/10/06
 */
@Data
@TableName("li_supply_chain_access")
@ApiModel(value = "供应链访问配置")
@EqualsAndHashCode(callSuper = true)
public class SupplyChainAccess extends BaseStandardEntity {

    private static final long serialVersionUID = 1L;

    @NotEmpty(message = "供应商ID 必填")
    @ApiModelProperty(value = "供应商ID")
    private String userId;

    @NotEmpty(message = "供应链ID 必填")
    @ApiModelProperty(value = "供应链ID")
    private String supplyChainId;

}